show Abstracthide Abstractan electrochemical resource-recovery anaerobic membrane bioreactor (eRAnMBR) that employed a magnesium plate and conductive membrane as dual anodes is presented and shows excellent performance in carbon, nitrogen, and phosphorus recovery, as well as membrane anti-fouling.